<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改案例字段')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-newCaseSeq-edit" th:object="${newCaseSeq}">
            <input id="caseNo" name="caseNo" th:field="*{caseNo}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">内部序号：</label>
				<div class="col-sm-8">
					<input id="caseRequestSeq" name="caseRequestSeq" th:field="*{caseRequestSeq}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">请求功能编号：</label>
				<div class="col-sm-8">
					<input id="rmId" name="rmId" th:field="*{rmId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否停止(0-不停止，1-停止)：</label>
				<div class="col-sm-8">
					<input id="ifStop" name="ifStop" th:field="*{ifStop}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">名称（显示）：</label>
				<div class="col-sm-8">
					<input id="caseRequestName" name="caseRequestName" th:field="*{caseRequestName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">0-功能请求；1-系统指令（如sleep）：</label>
				<div class="col-sm-8">
					<input id="type" name="type" th:field="*{type}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">执行条件 0：执行 其他：不执行：</label>
				<div class="col-sm-8">
					<input id="condition" name="condition" th:field="*{condition}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">优先执行环境 0默认 1spx 2cpack 3t2 4kesb 5hr：</label>
				<div class="col-sm-8">
					<input id="firstSetting" name="firstSetting" th:field="*{firstSetting}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">pid：</label>
				<div class="col-sm-8">
					<input id="pid" name="pid" th:field="*{pid}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">pno：</label>
				<div class="col-sm-8">
					<input id="pno" name="pno" th:field="*{pno}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">oldcrs：</label>
				<div class="col-sm-8">
					<input id="oldcrs" name="oldcrs" th:field="*{oldcrs}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">模糊匹配 0关；1开：</label>
				<div class="col-sm-8">
					<input id="mhppSetting" name="mhppSetting" th:field="*{mhppSetting}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/newCaseSeq";
		$("#form-newCaseSeq-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-newCaseSeq-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
